import axios from 'axios'

export  function getSlider() {
  const url = 'src/data/slider.json';
  return axios.get(url).then((res)=>{
    return Promise.resolve(res.data)
  })
}
